package com.smh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smh.entity.Device;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

@Mapper
public interface DeviceMapper extends BaseMapper<Device> {
    @Select("select * from webclassproject.device")
    ArrayList<Device> query();
}
